package com.ttn.common.core.entity.studentrecord;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 词汇学习记录
 */
@Data
@TableName(value = "vocabulary_study_record_details")
public class VocabularyStudyRecordDetails implements Serializable {
    private static final long serialVersionUID = 5555554534945247693L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程id
     */
    @TableField(value = "course_unit_id")
    private Integer courseUnitId;

    /**
     * 单词
     */
    @TableField(value = "word")
    private String word;

    /**
     * 中文释义
     */
    @TableField(value = "chinese_interpretation")
    private String chineseInterpretation;

    /**
     * 标准答案
     */
    @TableField(value = "answer")
    private String answer;

    /**
     * 例句
     */
    @TableField(value = "example_sentence")
    private String exampleSentence;

    /**
     * 用户答案
     */
    @TableField(value = "user_answer")
    private String userAnswer;

    /**
     * 答案对错(0错 1对)
     */
    @TableField(value = "answer_flag")
    private Integer answerFlag;

//    /**
//     * 学员id
//     */
//    @TableField(value = "student_id")
//    private Integer studentId;

    /**
     * 单词id
     */
    @TableField(value = "vocabulary_id")
    private Integer vocabularyId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    /**
     * 创建时间
     */
    @TableField(value = "study_record_id")
    private Integer studyRecordId;

}